package GUI;

import java.awt.LayoutManager;

import javax.swing.JPanel;
import javax.swing.JLabel;
import java.awt.Font;
import java.awt.Color;
import javax.swing.JComboBox;
import javax.swing.JButton;
import javax.swing.DefaultComboBoxModel;
/**
 * This class creates instance of ADetermineStageManagerGui	
 * to display when needed
 * @author Elad
 *
 */
public class DetermineStageManagerGui extends JPanel {

	private static final long serialVersionUID = 1L;
	private JComboBox comboBox_2;
	private JComboBox comboBox_3;
	private JComboBox comboBox_4;
	private JComboBox comboBox_1;
	private JButton submitBtn;
	private JButton cancelBtn;
	private JComboBox reqNum;

	/**
	 * the constructor
	 */
	public DetermineStageManagerGui() {
		super();
		setLayout(null);
		comboBox_1 = new JComboBox();
		comboBox_1.setModel(new DefaultComboBoxModel(new String[] {"", "nofar ben david", "aviat cohen", "natali kuchuk", "elad ohana", "moti deri", "yamit cohen", "israel isreali", "marko polo"}));
		comboBox_2 = new JComboBox();
		comboBox_2.setModel(new DefaultComboBoxModel(new String[] {"", "nofar ben david", "aviat cohen", "natali kuchuk", "elad ohana", "moti deri", "yamit cohen", "israel isreali", "marko polo"}));
		comboBox_3 = new JComboBox();
		comboBox_3.setModel(new DefaultComboBoxModel(new String[] {"", "nofar ben david", "aviat cohen", "natali kuchuk", "elad ohana", "moti deri", "yamit cohen", "israel isreali", "marko polo"}));
		comboBox_4 = new JComboBox();
		comboBox_4.setModel(new DefaultComboBoxModel(new String[] {"", "nofar ben david", "aviat cohen", "natali kuchuk", "elad ohana", "moti deri", "yamit cohen", "israel isreali", "marko polo"}));
		reqNum = new JComboBox();
		reqNum.setModel(new DefaultComboBoxModel(new String[] {"", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10"}));
		cancelBtn = new JButton("CANCEL");
		submitBtn = new JButton("SUBMIT");
		initialize();
	}
	/**
	 * This method initializes DetermineStageManagerGui	
	 */
	public void initialize(){
		
		JLabel lblDetermineStageManager = new JLabel("DETERMINE STAGE MANAGER WINDOW");
		lblDetermineStageManager.setForeground(Color.BLUE);
		lblDetermineStageManager.setFont(new Font("Arial", Font.BOLD, 17));
		lblDetermineStageManager.setBounds(52, 33, 339, 36);
		add(lblDetermineStageManager);
		
		JLabel lblEstimationStage = new JLabel("ESTIMATION STAGE:");
		lblEstimationStage.setFont(new Font("Arial", Font.BOLD, 12));
		lblEstimationStage.setBounds(52, 127, 122, 20);
		add(lblEstimationStage);
		
		comboBox_1.setBounds(210, 128, 145, 20);
		add(comboBox_1);
		
		JLabel lblExaminationStage = new JLabel("EXAMINATION STAGE:\r\n");
		lblExaminationStage.setFont(new Font("Arial", Font.BOLD, 12));
		lblExaminationStage.setBounds(52, 180, 133, 20);
		add(lblExaminationStage);
		
		JLabel lblPerformanceStage = new JLabel("PERFORMANCE STAGE:");
		lblPerformanceStage.setFont(new Font("Arial", Font.BOLD, 12));
		lblPerformanceStage.setBounds(52, 236, 133, 20);
		add(lblPerformanceStage);
		
		JLabel lblTestingStage = new JLabel("TESTING STAGE:");
		lblTestingStage.setFont(new Font("Arial", Font.BOLD, 12));
		lblTestingStage.setBounds(52, 285, 122, 20);
		add(lblTestingStage);
		
		comboBox_2.setBounds(210, 181, 145, 20);
		add(comboBox_2);
		
		comboBox_3.setBounds(210, 237, 145, 20);
		add(comboBox_3);
		
		comboBox_4.setBounds(210, 286, 145, 20);
		add(comboBox_4);
		
		cancelBtn.setFont(new Font("Arial", Font.BOLD, 12));
		cancelBtn.setBounds(34, 331, 89, 30);
		add(cancelBtn);
		
		submitBtn.setFont(new Font("Arial", Font.BOLD, 12));
		submitBtn.setBounds(302, 331, 89, 30);
		add(submitBtn);
		
		reqNum.setBounds(210, 82, 145, 20);
		add(reqNum);
		
		JLabel lblChooseReqestNumber = new JLabel("CHOOSE REQ NUM:");
		lblChooseReqestNumber.setFont(new Font("Arial", Font.BOLD, 12));
		lblChooseReqestNumber.setBounds(52, 80, 148, 22);
		add(lblChooseReqestNumber);
		
	}
	/**
	 * 
	 * @return JComboBox with the manager for stage1
	 */
	public JComboBox getStage1(){
		return comboBox_1;
	}
	/**
	 * 
	 * @return JComboBox with the manager for stage2
	 */
	public JComboBox getStage2(){
		return comboBox_2;
	}
	/**
	 * 
	 * @return JComboBox with the manager for stage3
	 */
	public JComboBox getStage3(){
		return comboBox_3;
	}
	/**
	 * 
	 * @return JComboBox with the manager for stage4
	 */
	public JComboBox getStage4(){
		return comboBox_4;
	}
	/**
	 * 
	 * @return JComboBox with the request number
	 */
	public JComboBox getReqNum(){
		return reqNum;
	}
	/**
	 * 
	 * @return JButton the submit button
	 */
	public JButton getSubBtn(){
		return submitBtn;
	}
	/**
	 * 
	 * @return Button the cancel button
	 */
	public JButton getCanBtn(){
		return cancelBtn;
	}
}
